﻿<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             x:Class="AphroditePiano.App"  xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows" 
             xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" xmlns:System_Windows_Controls_Primitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Data" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" 
             >
    <Application.Resources>
	<Style x:Key="MusicSlider" TargetType="Slider">
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Maximum" Value="10"/>
			<Setter Property="Minimum" Value="0"/>
			<Setter Property="Value" Value="0"/>
			<Setter Property="BorderBrush">
				<Setter.Value>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#FFA3AEB9" Offset="0"/>
						<GradientStop Color="#FF8399A9" Offset="0.375"/>
						<GradientStop Color="#FF718597" Offset="0.375"/>
						<GradientStop Color="#FF617584" Offset="1"/>
					</LinearGradientBrush>
				</Setter.Value>
			</Setter>
			<Setter Property="IsTabStop" Value="False"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Slider">
						<Grid x:Name="Root">
							<Grid.Resources>
								<ControlTemplate x:Key="RepeatButtonTemplate">
									<Grid x:Name="Root" Opacity="0" Background="Transparent"/>
								</ControlTemplate>
							</Grid.Resources>
							<vsm:VisualStateManager.VisualStateGroups>
								<vsm:VisualStateGroup x:Name="CommonStates">
									<vsm:VisualState x:Name="Normal"/>
									<vsm:VisualState x:Name="MouseOver"/>
									<vsm:VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="HorizontalTrackRectangleDisabledOverlay" Storyboard.TargetProperty="Visibility">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="ThumbDisabledOverlay" Storyboard.TargetProperty="Visibility">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="VerticalTrackRectangleDisabledOverlay" Storyboard.TargetProperty="Visibility">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</vsm:VisualState>
								</vsm:VisualStateGroup>
							</vsm:VisualStateManager.VisualStateGroups>
							<Grid x:Name="HorizontalTemplate" Background="{TemplateBinding Background}">
								<Grid.ColumnDefinitions>
									<ColumnDefinition Width="Auto"/>
									<ColumnDefinition Width="Auto"/>
									<ColumnDefinition Width="*"/>
								</Grid.ColumnDefinitions>
								<Rectangle Height="8" Margin="5,0,5,0" x:Name="TrackRectangle" Grid.Column="0" Grid.ColumnSpan="3" RadiusX="1" RadiusY="1" Stroke="#FF1E1E1E" Opacity="0.8" StrokeThickness="2">
									<Rectangle.Fill>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="#FF000000"/>
											<GradientStop Color="#FF292929" Offset="1"/>
										</LinearGradientBrush>
									</Rectangle.Fill>
								</Rectangle>
								<Rectangle Height="3" Margin="5,0,5,0" x:Name="HorizontalTrackRectangleDisabledOverlay" Opacity=".55" Visibility="Collapsed" Grid.Column="0" Grid.ColumnSpan="3" RadiusX="1" RadiusY="1" Fill="White"/>
								<RepeatButton x:Name="HorizontalTrackLargeChangeDecreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="0"/>
								<Thumb Height="18" x:Name="HorizontalThumb" Width="11" IsTabStop="True" Grid.Column="1" Style="{StaticResource MusicThumb}"/>
								<Rectangle x:Name="ThumbDisabledOverlay" Width="11" Opacity=".55" Visibility="Collapsed" Grid.Column="1" RadiusX="2" RadiusY="2" Fill="White"/>
								<RepeatButton x:Name="HorizontalTrackLargeChangeIncreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="2"/>
							</Grid>
							<Grid x:Name="VerticalTemplate" Visibility="Collapsed" Background="{TemplateBinding Background}">
								<Grid.RowDefinitions>
									<RowDefinition Height="*"/>
									<RowDefinition Height="Auto"/>
									<RowDefinition Height="Auto"/>
								</Grid.RowDefinitions>
								<Rectangle Margin="0,5,0,5" Width="3" Grid.Row="0" Grid.RowSpan="3" RadiusX="1" RadiusY="1" Fill="#FFE6EFF7" Stroke="#FFA3AEB9" StrokeThickness="{TemplateBinding BorderThickness}"/>
								<Rectangle Margin="0,5,0,5" x:Name="VerticalTrackRectangleDisabledOverlay" Width="3" Opacity=".55" Visibility="Collapsed" Grid.Row="0" Grid.RowSpan="3" RadiusX="1" RadiusY="1" Fill="White"/>
								<RepeatButton x:Name="VerticalTrackLargeChangeDecreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="2"/>
								<Thumb Height="11" x:Name="VerticalThumb" Width="18" IsTabStop="True" Grid.Row="1"/>
								<RepeatButton x:Name="VerticalTrackLargeChangeIncreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="0"/>
							</Grid>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
        <Style x:Key="KeyStyle" TargetType="Button">
            <Setter Property="Background" Value="#FF1F3B53"/>
            <Setter Property="Foreground" Value="#FF000000"/>
            <Setter Property="Padding" Value="3"/>
            <Setter Property="BorderThickness" Value="1"/>
            <Setter Property="BorderBrush">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFA3AEB9" Offset="0"/>
                        <GradientStop Color="#FF8399A9" Offset="0.375"/>
                        <GradientStop Color="#FF718597" Offset="0.375"/>
                        <GradientStop Color="#FF617584" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Grid>
                            <vsm:VisualStateManager.VisualStateGroups>
                                <vsm:VisualStateGroup x:Name="CommonStates">
                                    <vsm:VisualStateGroup.Transitions>
                                        <vsm:VisualTransition GeneratedDuration="00:00:00.3000000"/>
                                    </vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualState x:Name="Normal"/>
                                    <vsm:VisualState x:Name="MouseOver">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                            </DoubleAnimationUsingKeyFrames>
                                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Background" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)">
                                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF3591E6"/>
                                            </ColorAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="Pressed">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="Disabled">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity">
                                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                </vsm:VisualStateGroup>
                                <vsm:VisualStateGroup x:Name="FocusStates">
                                    <vsm:VisualState x:Name="Focused">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
                                                <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="Unfocused"/>
                                </vsm:VisualStateGroup>
                            </vsm:VisualStateManager.VisualStateGroups>
                            <Border x:Name="Background" BorderBrush="#FFFFFFFF" BorderThickness="4,4,2,2" CornerRadius="6,6,6,6">
                                <Grid>
                                    <Border x:Name="BackgroundAnimation" Opacity="0" Margin="0,0,0,0">
                                        <Border.Background>
                                            <RadialGradientBrush RadiusX="1.10411" RadiusY="0.760279" Center="0.505023,1.07775" GradientOrigin="0.505023,1.07775">
                                                <RadialGradientBrush.RelativeTransform>
                                                    <TransformGroup>
                                                        <ScaleTransform CenterX="0.50499999523162842" CenterY="1.0779999494552612" ScaleX="1.039" ScaleY="1.323"/>
                                                        <SkewTransform CenterX="0.50499999523162842" CenterY="1.0779999494552612"/>
                                                        <RotateTransform Angle="-90" CenterX="0.50499999523162842" CenterY="1.0779999494552612"/>
                                                        <TranslateTransform X="0" Y="0.475"/>
                                                    </TransformGroup>
                                                </RadialGradientBrush.RelativeTransform>
                                                <GradientStop Color="#FF369FFF" Offset="0"/>
                                                <GradientStop Color="#00369FFF" Offset="0.995455"/>
                                            </RadialGradientBrush>
                                        </Border.Background>
                                    </Border>
                                    <Rectangle x:Name="BackgroundGradient" Stretch="Fill" Stroke="#FF000000" StrokeDashCap="Flat" StrokeThickness="0" RadiusX="0" RadiusY="0"/>
                                </Grid>
                            </Border>
                            <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" x:Name="contentPresenter" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
                            <Rectangle x:Name="DisabledVisualElement" IsHitTestVisible="false" Opacity="0" Fill="#FFFFFFFF" RadiusX="6" RadiusY="6"/>
                            <Rectangle Margin="1" x:Name="FocusVisualElement" IsHitTestVisible="false" Opacity="0" Stroke="#FF3591E6" StrokeThickness="3" RadiusX="6" RadiusY="6" Fill="{x:Null}"/>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="PianoStyle" TargetType="Button">
        	<Setter Property="Background" Value="#FF1F3B53"/>
        	<Setter Property="Foreground" Value="#FF000000"/>
        	<Setter Property="Padding" Value="3"/>
        	<Setter Property="BorderThickness" Value="1"/>
        	<Setter Property="BorderBrush">
        		<Setter.Value>
        			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        				<GradientStop Color="#FFA3AEB9" Offset="0"/>
        				<GradientStop Color="#FF8399A9" Offset="0.375"/>
        				<GradientStop Color="#FF718597" Offset="0.375"/>
        				<GradientStop Color="#FF617584" Offset="1"/>
        			</LinearGradientBrush>
        		</Setter.Value>
        	</Setter>
        	<Setter Property="Template">
        		<Setter.Value>
        			<ControlTemplate TargetType="Button">
        				<Grid>
        					<vsm:VisualStateManager.VisualStateGroups>
        						<vsm:VisualStateGroup x:Name="CommonStates">
        							<vsm:VisualStateGroup.Transitions>
        								<vsm:VisualTransition GeneratedDuration="00:00:00.3000000"/>
        							</vsm:VisualStateGroup.Transitions>
        							<vsm:VisualState x:Name="Normal"/>
        							<vsm:VisualState x:Name="MouseOver">
        								<Storyboard/>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Pressed">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="image" Storyboard.TargetProperty="(UIElement.Opacity)">
        										<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Disabled">
        								<Storyboard/>
        							</vsm:VisualState>
        						</vsm:VisualStateGroup>
        						<vsm:VisualStateGroup x:Name="FocusStates">
        							<vsm:VisualState x:Name="Focused">
        								<Storyboard/>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Unfocused"/>
        						</vsm:VisualStateGroup>
        					</vsm:VisualStateManager.VisualStateGroups>
        					<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" x:Name="contentPresenter" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Visibility="Collapsed"/>
        					<Image HorizontalAlignment="Left" Margin="0,0,0,0" Width="17" Source="../Resources/PianoKeyDown.png" Stretch="None" Height="92" VerticalAlignment="Top" Opacity="0" x:Name="image"/>
        				</Grid>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
        </Style>
        <Style x:Key="MusicThumb" TargetType="Thumb">
        	<Setter Property="Background" Value="#FF1F3B53"/>
        	<Setter Property="BorderThickness" Value="1"/>
        	<Setter Property="IsTabStop" Value="False"/>
        	<Setter Property="BorderBrush">
        		<Setter.Value>
        			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        				<GradientStop Color="#FFA3AEB9" Offset="0"/>
        				<GradientStop Color="#FF8399A9" Offset="0.375"/>
        				<GradientStop Color="#FF718597" Offset="0.375"/>
        				<GradientStop Color="#FF617584" Offset="1"/>
        			</LinearGradientBrush>
        		</Setter.Value>
        	</Setter>
        	<Setter Property="Template">
        		<Setter.Value>
        			<ControlTemplate TargetType="Thumb">
        				<Grid>
        					<vsm:VisualStateManager.VisualStateGroups>
        						<vsm:VisualStateGroup x:Name="CommonStates">
        							<vsm:VisualState x:Name="Normal"/>
        							<vsm:VisualState x:Name="MouseOver">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
        										<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Pressed">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
        										<SplineColorKeyFrame KeyTime="0" Value="#FFD6D6D6"/>
        									</ColorAnimationUsingKeyFrames>
        									<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
        										<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Disabled">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity">
        										<SplineDoubleKeyFrame KeyTime="0" Value=".55"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        						</vsm:VisualStateGroup>
        						<vsm:VisualStateGroup x:Name="FocusStates">
        							<vsm:VisualState x:Name="Focused">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
        										<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Unfocused"/>
        						</vsm:VisualStateGroup>
        					</vsm:VisualStateManager.VisualStateGroups>
        					<Border x:Name="Background" Background="#FF8A8A8A" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2" BorderBrush="#FF2B2B2B">
        						<Grid Margin="1" Background="#FF717171">
        							<Border x:Name="BackgroundAnimation" Opacity="0" Background="#FFA5A5A5"/>
        							<Rectangle x:Name="BackgroundGradient" Fill="#FFB9B9B9"/>
        						</Grid>
        					</Border>
        					<Rectangle x:Name="DisabledVisualElement" IsHitTestVisible="false" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FFFFFFFF"/>
        					<Rectangle Margin="1" x:Name="FocusVisualElement" IsHitTestVisible="false" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FFE0E0E0" StrokeThickness="1"/>
        				</Grid>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
        </Style>
        <Style x:Key="MusicScrollBar" TargetType="ScrollBar">
        	<Setter Property="MinWidth" Value="17"/>
        	<Setter Property="MinHeight" Value="17"/>
        	<Setter Property="IsTabStop" Value="False"/>
        	<Setter Property="Template">
        		<Setter.Value>
        			<ControlTemplate TargetType="ScrollBar">
        				<Grid x:Name="Root">
        					<Grid.Resources>
        						<ControlTemplate x:Key="RepeatButtonTemplate" TargetType="RepeatButton">
        							<Grid x:Name="Root" Background="Transparent">
        								<vsm:VisualStateManager.VisualStateGroups>
        									<vsm:VisualStateGroup x:Name="CommonStates">
        										<vsm:VisualState x:Name="Normal"/>
        									</vsm:VisualStateGroup>
        								</vsm:VisualStateManager.VisualStateGroups>
        							</Grid>
        						</ControlTemplate>
        						<ControlTemplate x:Key="HorizontalIncrementTemplate" TargetType="RepeatButton">
        							<Grid x:Name="Root">
        								<vsm:VisualStateManager.VisualStateGroups>
        									<vsm:VisualStateGroup x:Name="CommonStates">
        										<vsm:VisualState x:Name="Normal"/>
        										<vsm:VisualState x:Name="MouseOver">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#7FFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#CCFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#F2FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Pressed">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
        													<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#6BFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#C6FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#EAFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#F4FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Disabled">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledElement" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value=".7"/>
        												</DoubleAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        									</vsm:VisualStateGroup>
        								</vsm:VisualStateManager.VisualStateGroups>
        								<Rectangle x:Name="Background" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF1F3B53" StrokeThickness="1">
        									<Rectangle.Stroke>
        										<LinearGradientBrush EndPoint=".5,1" StartPoint=".5,0">
        											<GradientStop Color="#FF647480" Offset="1"/>
        											<GradientStop Color="#FFAEB7BF" Offset="0"/>
        											<GradientStop Color="#FF919EA7" Offset="0.35"/>
        											<GradientStop Color="#FF7A8A99" Offset="0.35"/>
        										</LinearGradientBrush>
        									</Rectangle.Stroke>
        								</Rectangle>
        								<Rectangle x:Name="BackgroundAnimation" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF448DCA" Stroke="#00000000" StrokeThickness="1"/>
        								<Rectangle Margin="1" x:Name="BackgroundGradient" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FFFFFFFF" StrokeThickness="1">
        									<Rectangle.Fill>
        										<LinearGradientBrush EndPoint=".7,1" StartPoint=".7,0">
        											<GradientStop Color="#FFFFFFFF" Offset="0.013"/>
        											<GradientStop Color="#F9FFFFFF" Offset="0.375"/>
        											<GradientStop Color="#E5FFFFFF" Offset="0.603"/>
        											<GradientStop Color="#C6FFFFFF" Offset="1"/>
        										</LinearGradientBrush>
        									</Rectangle.Fill>
        								</Rectangle>
        								<Rectangle Margin="1" x:Name="Highlight" IsHitTestVisible="false" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FF6DBDD1" StrokeThickness="1"/>
        								<Path Height="8" Width="4" Stretch="Uniform" Data="F1 M 511.047,352.682L 511.047,342.252L 517.145,347.467L 511.047,352.682 Z ">
        									<Path.Fill>
        										<SolidColorBrush Color="#FF333333" x:Name="ButtonColor"/>
        									</Path.Fill>
        								</Path>
        								<Rectangle x:Name="DisabledElement" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FFFFFFFF"/>
        							</Grid>
        						</ControlTemplate>
        						<ControlTemplate x:Key="HorizontalDecrementTemplate" TargetType="RepeatButton">
        							<Grid x:Name="Root">
        								<vsm:VisualStateManager.VisualStateGroups>
        									<vsm:VisualStateGroup x:Name="CommonStates">
        										<vsm:VisualState x:Name="Normal"/>
        										<vsm:VisualState x:Name="MouseOver">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundMouseOver" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#7FFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#CCFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#F2FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Pressed">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
        													<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#6BFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#C6FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#EAFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#F4FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Disabled">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledElement" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value=".7"/>
        												</DoubleAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        									</vsm:VisualStateGroup>
        								</vsm:VisualStateManager.VisualStateGroups>
        								<Rectangle x:Name="Background" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF1F3B53" StrokeThickness="1">
        									<Rectangle.Stroke>
        										<LinearGradientBrush EndPoint=".5,1" StartPoint=".5,0">
        											<GradientStop Color="#FF647480" Offset="1"/>
        											<GradientStop Color="#FFAEB7BF" Offset="0"/>
        											<GradientStop Color="#FF919EA7" Offset="0.35"/>
        											<GradientStop Color="#FF7A8A99" Offset="0.35"/>
        										</LinearGradientBrush>
        									</Rectangle.Stroke>
        								</Rectangle>
        								<Rectangle x:Name="BackgroundMouseOver" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF448DCA" Stroke="#00000000" StrokeThickness="1"/>
        								<Rectangle x:Name="BackgroundPressed" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF448DCA" Stroke="#00000000" StrokeThickness="1"/>
        								<Rectangle Margin="1" x:Name="BackgroundGradient" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FFFFFFFF" StrokeThickness="1">
        									<Rectangle.Fill>
        										<LinearGradientBrush EndPoint=".7,1" StartPoint=".7,0">
        											<GradientStop Color="#FFFFFFFF" Offset="0.013"/>
        											<GradientStop Color="#F9FFFFFF" Offset="0.375"/>
        											<GradientStop Color="#E5FFFFFF" Offset="0.603"/>
        											<GradientStop Color="#C6FFFFFF" Offset="1"/>
        										</LinearGradientBrush>
        									</Rectangle.Fill>
        								</Rectangle>
        								<Rectangle Margin="1" x:Name="Highlight" IsHitTestVisible="false" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FF6DBDD1" StrokeThickness="1"/>
        								<Path Height="8" Width="4" Stretch="Uniform" Data="F1 M 110.692,342.252L 110.692,352.682L 104.594,347.467L 110.692,342.252 Z ">
        									<Path.Fill>
        										<SolidColorBrush Color="#FF333333" x:Name="ButtonColor"/>
        									</Path.Fill>
        								</Path>
        								<Rectangle x:Name="DisabledElement" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FFFFFFFF"/>
        							</Grid>
        						</ControlTemplate>
        						<ControlTemplate x:Key="VerticalIncrementTemplate" TargetType="RepeatButton">
        							<Grid x:Name="Root">
        								<vsm:VisualStateManager.VisualStateGroups>
        									<vsm:VisualStateGroup x:Name="CommonStates">
        										<vsm:VisualState x:Name="Normal"/>
        										<vsm:VisualState x:Name="MouseOver">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundMouseOver" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#7FFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#CCFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#F2FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Pressed">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
        													<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#6BFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#C6FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#EAFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#F4FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Disabled">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledElement" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value=".7"/>
        												</DoubleAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        									</vsm:VisualStateGroup>
        								</vsm:VisualStateManager.VisualStateGroups>
        								<Rectangle x:Name="Background" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF1F3B53" StrokeThickness="1">
        									<Rectangle.Stroke>
        										<LinearGradientBrush EndPoint="1,.5" StartPoint="0,.5">
        											<GradientStop Color="#FF647480" Offset="1"/>
        											<GradientStop Color="#FFAEB7BF" Offset="0"/>
        											<GradientStop Color="#FF919EA7" Offset="0.35"/>
        											<GradientStop Color="#FF7A8A99" Offset="0.35"/>
        										</LinearGradientBrush>
        									</Rectangle.Stroke>
        								</Rectangle>
        								<Rectangle x:Name="BackgroundMouseOver" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF448DCA" Stroke="#00000000" StrokeThickness="1"/>
        								<Rectangle x:Name="BackgroundPressed" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF448DCA" Stroke="#00000000" StrokeThickness="1"/>
        								<Rectangle Margin="1" x:Name="BackgroundGradient" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FFFFFFFF" StrokeThickness="1">
        									<Rectangle.Fill>
        										<LinearGradientBrush EndPoint="1,.7" StartPoint="0,.7">
        											<GradientStop Color="#FFFFFFFF" Offset="0.013"/>
        											<GradientStop Color="#F9FFFFFF" Offset="0.375"/>
        											<GradientStop Color="#E5FFFFFF" Offset="0.603"/>
        											<GradientStop Color="#C6FFFFFF" Offset="1"/>
        										</LinearGradientBrush>
        									</Rectangle.Fill>
        								</Rectangle>
        								<Rectangle Margin="1" x:Name="Highlight" IsHitTestVisible="false" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FF6DBDD1" StrokeThickness="1"/>
        								<Path Height="4" Width="8" Stretch="Uniform" Data="F1 M 531.107,321.943L 541.537,321.943L 536.322,328.042L 531.107,321.943 Z ">
        									<Path.Fill>
        										<SolidColorBrush Color="#FF333333" x:Name="ButtonColor"/>
        									</Path.Fill>
        								</Path>
        								<Rectangle x:Name="DisabledElement" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FFFFFFFF"/>
        							</Grid>
        						</ControlTemplate>
        						<ControlTemplate x:Key="VerticalDecrementTemplate" TargetType="RepeatButton">
        							<Grid x:Name="Root">
        								<vsm:VisualStateManager.VisualStateGroups>
        									<vsm:VisualStateGroup x:Name="CommonStates">
        										<vsm:VisualState x:Name="Normal"/>
        										<vsm:VisualState x:Name="MouseOver">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundMouseOver" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#7FFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#CCFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#F2FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Pressed">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
        													<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#6BFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#C6FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#EAFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#F4FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Disabled">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledElement" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value=".7"/>
        												</DoubleAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        									</vsm:VisualStateGroup>
        								</vsm:VisualStateManager.VisualStateGroups>
        								<Rectangle x:Name="Background" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF1F3B53" StrokeThickness="1">
        									<Rectangle.Stroke>
        										<LinearGradientBrush EndPoint="1,.5" StartPoint="0,.5">
        											<GradientStop Color="#FF647480" Offset="1"/>
        											<GradientStop Color="#FFAEB7BF" Offset="0"/>
        											<GradientStop Color="#FF919EA7" Offset="0.35"/>
        											<GradientStop Color="#FF7A8A99" Offset="0.35"/>
        										</LinearGradientBrush>
        									</Rectangle.Stroke>
        								</Rectangle>
        								<Rectangle x:Name="BackgroundMouseOver" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF448DCA" Stroke="#00000000" StrokeThickness="1"/>
        								<Rectangle x:Name="BackgroundPressed" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF448DCA" Stroke="#00000000" StrokeThickness="1"/>
        								<Rectangle Margin="1" x:Name="BackgroundGradient" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FFFFFFFF" StrokeThickness="1">
        									<Rectangle.Fill>
        										<LinearGradientBrush EndPoint="1,.7" StartPoint="0,.7">
        											<GradientStop Color="#FFFFFFFF" Offset="0.013"/>
        											<GradientStop Color="#F9FFFFFF" Offset="0.375"/>
        											<GradientStop Color="#E5FFFFFF" Offset="0.603"/>
        											<GradientStop Color="#C6FFFFFF" Offset="1"/>
        										</LinearGradientBrush>
        									</Rectangle.Fill>
        								</Rectangle>
        								<Rectangle Margin="1" x:Name="Highlight" IsHitTestVisible="false" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FF6DBDD1" StrokeThickness="1"/>
        								<Path Height="4" Width="8" Stretch="Uniform" Data="F1 M 541.537,173.589L 531.107,173.589L 536.322,167.49L 541.537,173.589 Z ">
        									<Path.Fill>
        										<SolidColorBrush Color="#FF333333" x:Name="ButtonColor"/>
        									</Path.Fill>
        								</Path>
        								<Rectangle x:Name="DisabledElement" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FFFFFFFF"/>
        							</Grid>
        						</ControlTemplate>
        						<ControlTemplate x:Key="VerticalThumbTemplate" TargetType="Thumb">
        							<Grid>
        								<vsm:VisualStateManager.VisualStateGroups>
        									<vsm:VisualStateGroup x:Name="CommonStates">
        										<vsm:VisualState x:Name="Normal"/>
        										<vsm:VisualState x:Name="MouseOver">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundMouseOver" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Pressed">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
        													<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Disabled">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="ThumbVisual" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
        												</DoubleAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        									</vsm:VisualStateGroup>
        								</vsm:VisualStateManager.VisualStateGroups>
        								<Grid Margin="1,0,1,0" x:Name="ThumbVisual">
        									<Rectangle x:Name="Background" RadiusX="2" RadiusY="2" Fill="#FFC2C2C2" StrokeThickness="1" Stroke="#FFCECECE"/>
        									<Rectangle x:Name="BackgroundMouseOver" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FFDADADA" Stroke="#00000000" StrokeThickness="1"/>
        									<Rectangle x:Name="BackgroundPressed" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FFB5B5B5" Stroke="#00000000" StrokeThickness="1"/>
        									<Rectangle Margin="1" x:Name="BackgroundGradient" RadiusX="1" RadiusY="1" Stroke="#FFD4D4D4" StrokeThickness="1" Fill="#FFFFFFFF"/>
        									<Rectangle Margin="1" x:Name="Highlight" IsHitTestVisible="false" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FFFFFFFF" StrokeThickness="1"/>
        								</Grid>
        							</Grid>
        						</ControlTemplate>
        						<ControlTemplate x:Key="HorizontalThumbTemplate" TargetType="Thumb">
        							<Grid>
        								<vsm:VisualStateManager.VisualStateGroups>
        									<vsm:VisualStateGroup x:Name="CommonStates">
        										<vsm:VisualState x:Name="Normal"/>
        										<vsm:VisualState x:Name="MouseOver">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundMouseOver" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#7FFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#CCFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#F2FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Pressed">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
        													<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        												</DoubleAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#6BFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#C6FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#EAFFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        												<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
        													<SplineColorKeyFrame KeyTime="0" Value="#F4FFFFFF"/>
        												</ColorAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        										<vsm:VisualState x:Name="Disabled">
        											<Storyboard>
        												<DoubleAnimationUsingKeyFrames Storyboard.TargetName="ThumbVisual" Storyboard.TargetProperty="Opacity">
        													<SplineDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
        												</DoubleAnimationUsingKeyFrames>
        											</Storyboard>
        										</vsm:VisualState>
        									</vsm:VisualStateGroup>
        								</vsm:VisualStateManager.VisualStateGroups>
        								<Grid Margin="0,1,0,1" x:Name="ThumbVisual">
        									<Rectangle x:Name="Background" RadiusX="2" RadiusY="2" Fill="#FF1F3B53" StrokeThickness="1">
        										<Rectangle.Stroke>
        											<LinearGradientBrush EndPoint=".5,1" StartPoint=".5,0">
        												<GradientStop Color="#FF818F99" Offset="1"/>
        												<GradientStop Color="#FFC2C9CE" Offset="0"/>
        												<GradientStop Color="#FFB3BBC1" Offset="0.35"/>
        												<GradientStop Color="#FF96A4B1" Offset="0.35"/>
        											</LinearGradientBrush>
        										</Rectangle.Stroke>
        									</Rectangle>
        									<Rectangle x:Name="BackgroundMouseOver" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF448DCA" Stroke="#00000000" StrokeThickness="1"/>
        									<Rectangle x:Name="BackgroundPressed" Opacity="0" RadiusX="2" RadiusY="2" Fill="#FF448DCA" Stroke="#00000000" StrokeThickness="1"/>
        									<Rectangle Margin="1" x:Name="BackgroundGradient" RadiusX="1" RadiusY="1" Stroke="#FFFFFFFF" StrokeThickness="1">
        										<Rectangle.Fill>
        											<LinearGradientBrush EndPoint=".7,1" StartPoint=".7,0">
        												<GradientStop Color="#FFFFFFFF" Offset="0.013"/>
        												<GradientStop Color="#F9FFFFFF" Offset="0.375"/>
        												<GradientStop Color="#E5FFFFFF" Offset="0.603"/>
        												<GradientStop Color="#C6FFFFFF" Offset="1"/>
        											</LinearGradientBrush>
        										</Rectangle.Fill>
        									</Rectangle>
        									<Rectangle Margin="1" x:Name="Highlight" IsHitTestVisible="false" Opacity="0" RadiusX="1" RadiusY="1" Stroke="#FF6DBDD1" StrokeThickness="1"/>
        								</Grid>
        							</Grid>
        						</ControlTemplate>
        					</Grid.Resources>
        					<vsm:VisualStateManager.VisualStateGroups>
        						<vsm:VisualStateGroup x:Name="CommonStates">
        							<vsm:VisualState x:Name="Normal"/>
        							<vsm:VisualState x:Name="MouseOver"/>
        							<vsm:VisualState x:Name="Disabled">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames Storyboard.TargetName="Root" Storyboard.TargetProperty="Opacity">
        										<SplineDoubleKeyFrame KeyTime="0" Value="0.5"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        						</vsm:VisualStateGroup>
        					</vsm:VisualStateManager.VisualStateGroups>
        					<Grid x:Name="HorizontalRoot">
        						<Grid.ColumnDefinitions>
        							<ColumnDefinition Width="Auto"/>
        							<ColumnDefinition Width="Auto"/>
        							<ColumnDefinition Width="Auto"/>
        							<ColumnDefinition Width="*"/>
        							<ColumnDefinition Width="Auto"/>
        						</Grid.ColumnDefinitions>
        						<Rectangle Grid.ColumnSpan="5" RadiusX="1" RadiusY="1" Stroke="#00000000" StrokeThickness="1" Fill="#FF939393"/>
        						<Rectangle Grid.ColumnSpan="5" RadiusX="1" RadiusY="1" Fill="{TemplateBinding Background}" Stroke="#00000000" StrokeThickness="1"/>
        						<Rectangle Opacity=".375" Grid.ColumnSpan="5" RadiusX="1" RadiusY="1" StrokeThickness="1" Stroke="#FF5C5C5C"/>
        						<Rectangle Margin="1" Grid.ColumnSpan="5" RadiusX="1" RadiusY="1">
        							<Rectangle.Stroke>
        								<LinearGradientBrush EndPoint="0.5,.125" StartPoint=".5,.875">
        									<GradientStop Color="#33FFFFFF"/>
        									<GradientStop Color="#99FFFFFF" Offset="1"/>
        								</LinearGradientBrush>
        							</Rectangle.Stroke>
        						</Rectangle>
        						<RepeatButton Margin="1" x:Name="HorizontalSmallDecrease" Width="16" IsTabStop="False" Template="{StaticResource HorizontalDecrementTemplate}" Grid.Column="0" Interval="50"/>
        						<RepeatButton x:Name="HorizontalLargeDecrease" Width="0" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="1" Interval="50"/>
        						<Thumb MinWidth="18" x:Name="HorizontalThumb" Width="18" Background="{TemplateBinding Background}" Template="{StaticResource HorizontalThumbTemplate}" Grid.Column="2"/>
        						<RepeatButton x:Name="HorizontalLargeIncrease" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="3" Interval="50"/>
        						<RepeatButton Margin="1" x:Name="HorizontalSmallIncrease" Width="16" IsTabStop="False" Template="{StaticResource HorizontalIncrementTemplate}" Grid.Column="4" Interval="50"/>
        					</Grid>
        					<Grid x:Name="VerticalRoot" Visibility="Collapsed">
        						<Grid.RowDefinitions>
        							<RowDefinition Height="Auto"/>
        							<RowDefinition Height="Auto"/>
        							<RowDefinition Height="Auto"/>
        							<RowDefinition Height="*"/>
        							<RowDefinition Height="Auto"/>
        						</Grid.RowDefinitions>
        						<Rectangle Grid.RowSpan="5" RadiusX="1" RadiusY="1" Stroke="#00000000" StrokeThickness="1" Fill="#FFE4E4E4"/>
        						<Rectangle Opacity=".375" Grid.RowSpan="5" RadiusX="1" RadiusY="1" StrokeThickness="1" Stroke="#FF888888"/>
        						<Rectangle Margin="1" Grid.RowSpan="5" RadiusX="1" RadiusY="1" Stroke="#FFBFBFBF"/>
        						<RepeatButton Height="16" Margin="1" x:Name="VerticalSmallDecrease" IsTabStop="False" Template="{StaticResource VerticalDecrementTemplate}" Grid.Row="0" Interval="50"/>
        						<RepeatButton Height="0" x:Name="VerticalLargeDecrease" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="1" Interval="50"/>
        						<Thumb Height="18" MinHeight="18" x:Name="VerticalThumb" Template="{StaticResource VerticalThumbTemplate}" Grid.Row="2"/>
        						<RepeatButton x:Name="VerticalLargeIncrease" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="3" Interval="50"/>
        						<RepeatButton Height="16" Margin="1" x:Name="VerticalSmallIncrease" IsTabStop="False" Template="{StaticResource VerticalIncrementTemplate}" Grid.Row="4" Interval="50"/>
        					</Grid>
        				</Grid>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
        </Style>
        <Style x:Key="MusicScrollViewer" TargetType="ScrollViewer">
        	<Setter Property="HorizontalContentAlignment" Value="Left"/>
        	<Setter Property="VerticalContentAlignment" Value="Top"/>
        	<Setter Property="VerticalScrollBarVisibility" Value="Visible"/>
        	<Setter Property="Padding" Value="4"/>
        	<Setter Property="BorderThickness" Value="1"/>
        	<Setter Property="BorderBrush">
        		<Setter.Value>
        			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        				<GradientStop Color="#FFA3AEB9" Offset="0"/>
        				<GradientStop Color="#FF8399A9" Offset="0.375"/>
        				<GradientStop Color="#FF718597" Offset="0.375"/>
        				<GradientStop Color="#FF617584" Offset="1"/>
        			</LinearGradientBrush>
        		</Setter.Value>
        	</Setter>
        	<Setter Property="Template">
        		<Setter.Value>
        			<ControlTemplate TargetType="ScrollViewer">
        				<Border CornerRadius="2" BorderThickness="2,2,2,2" BorderBrush="#4C000000">
        					<Grid Background="{TemplateBinding Background}">
        						<Grid.ColumnDefinitions>
        							<ColumnDefinition Width="*"/>
        							<ColumnDefinition Width="Auto"/>
        						</Grid.ColumnDefinitions>
        						<Grid.RowDefinitions>
        							<RowDefinition Height="*"/>
        							<RowDefinition Height="Auto"/>
        						</Grid.RowDefinitions>
        						<ScrollContentPresenter Cursor="{TemplateBinding Cursor}" Margin="{TemplateBinding Padding}" x:Name="ScrollContentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}"/>
        						<Rectangle Grid.Column="1" Grid.Row="1" Fill="#FFE9EEF4"/>
        						<ScrollBar Margin="0,-1,-1,-1" x:Name="VerticalScrollBar" Width="18" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" IsTabStop="False" Grid.Column="1" Grid.Row="0" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Value="{TemplateBinding VerticalOffset}" Orientation="Vertical" ViewportSize="{TemplateBinding ViewportHeight}" Style="{StaticResource MusicScrollBar}"/>
        						<ScrollBar Height="18" Margin="-1,0,-1,-1" x:Name="HorizontalScrollBar" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" IsTabStop="False" Grid.Column="0" Grid.Row="1" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Value="{TemplateBinding HorizontalOffset}" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}" d:IsHidden="True"/>
        					</Grid>
        				</Border>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
        </Style>
        <Style x:Key="StartButton" TargetType="Button">
        	<Setter Property="Background" Value="#FF1F3B53"/>
        	<Setter Property="Foreground" Value="#FF000000"/>
        	<Setter Property="Padding" Value="3"/>
        	<Setter Property="BorderThickness" Value="1"/>
        	<Setter Property="BorderBrush">
        		<Setter.Value>
        			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        				<GradientStop Color="#FFA3AEB9" Offset="0"/>
        				<GradientStop Color="#FF8399A9" Offset="0.375"/>
        				<GradientStop Color="#FF718597" Offset="0.375"/>
        				<GradientStop Color="#FF617584" Offset="1"/>
        			</LinearGradientBrush>
        		</Setter.Value>
        	</Setter>
        	<Setter Property="Template">
        		<Setter.Value>
        			<ControlTemplate TargetType="Button">
        				<Grid>
        					<vsm:VisualStateManager.VisualStateGroups>
        						<vsm:VisualStateGroup x:Name="CommonStates">
        							<vsm:VisualState x:Name="Normal"/>
        							<vsm:VisualState x:Name="MouseOver">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
        										<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Pressed">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
        										<SplineColorKeyFrame KeyTime="0" Value="#FFFFFFFF"/>
        									</ColorAnimationUsingKeyFrames>
        									<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
        										<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Disabled">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity">
        										<SplineDoubleKeyFrame KeyTime="0" Value=".55"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        						</vsm:VisualStateGroup>
        						<vsm:VisualStateGroup x:Name="FocusStates">
        							<vsm:VisualState x:Name="Focused">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
        										<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Unfocused"/>
        						</vsm:VisualStateGroup>
        					</vsm:VisualStateManager.VisualStateGroups>
        					<Border x:Name="Background" Background="#FF535353" CornerRadius="3" BorderBrush="#99434343" BorderThickness="2,2,2,2">
        						<Grid Margin="1" Background="{TemplateBinding Background}">
        							<Border x:Name="BackgroundAnimation" Opacity="0" Background="#FFFFFFFF"/>
        							<Rectangle x:Name="BackgroundGradient" Fill="#FFB1B1B1"/>
        						</Grid>
        					</Border>
        					<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" x:Name="contentPresenter" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
        					<Rectangle x:Name="DisabledVisualElement" IsHitTestVisible="false" Opacity="0" RadiusX="3" RadiusY="3" Fill="#FFFFFFFF"/>
        					<Rectangle Margin="1" x:Name="FocusVisualElement" IsHitTestVisible="false" Opacity="0" RadiusX="2" RadiusY="2" Stroke="#FFFFFFFF" StrokeThickness="1"/>
        				</Grid>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
        </Style>
        
    </Application.Resources>
</Application>
